package com.yilin.platform.mapper.message;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yilin.platform.entity.message.PushRecord;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 推送记录Mapper
 *
 * @author zhangjinyuan
 * @date 2022/10/26
 */
@Mapper
@Repository
public interface PushRecordMapper extends BaseMapper<PushRecord> {

    /**
     * 根据日期删除消息记录
     */
    void deleteByDate(String startDate, String endDate);
}
